#ifndef DEVICEWIDGET_H
#define DEVICEWIDGET_H

#include <QWidget>
#include <QVector>

class QGridLayout;
class QSpacerItem;
class QToolButton;

namespace Ui {
class DeviceWidget;
}

class DeviceWidget : public QWidget
{
    Q_OBJECT

public:
    explicit DeviceWidget(QWidget *parent = nullptr);
    ~DeviceWidget();

    void clearAndShowDeviceInfo();

private:
    Ui::DeviceWidget *ui;

    int _iColumn{4};
    QGridLayout *_gridLayout{ nullptr };
    QSpacerItem *_horizontalSpacer{nullptr};
    QSpacerItem *_verticalSpacer{nullptr};

    QVector<QToolButton*> _vecButton;
};

#endif // DEVICEWIDGET_H
